#!/usr/bin/php
Current Videos:
<?php 

include('../includes/db.php');

// fetch rows from the 'videos' database table

$result=$db->query("SELECT * FROM videos");

// loop over rows of database table

while($result->valid()) {

    // fetch current row

    $row=$result->current();

    print_r($row);

    // move pointer to next row

    $result->next();

}
